package com.jic.product.mapper;

import java.lang.Long;
import java.util.List;

import com.jic.product.entity.ProductSku;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 商品SKU表
 * @author : 
 * @email : 
 * @since : 2020-02-06 01:47:28
 * @version : v1.0.0
 */
@Mapper
public interface  ProductSkuMapper {

    long insert(ProductSku productSku);

    long delete(Long id);

    long update(ProductSku productSku);

    ProductSku queryByPrimaryKey(Long id);

    List<ProductSku> query(ProductSku productSku);

    List<ProductSku> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("productSku") ProductSku productSku);

    long queryPageCount(ProductSku productSku);
}